package com.jiaai.system.api;

import com.jiaai.exception.ServerException;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018\3\23 0023.
 */
public interface ILivePermission {

    /**
     * 按类型查找特权
     * @param type
     * @return
     */
     public List<Map<String,Object>> findByType(String type);

    /**
     * 修改特权
     * @param params
     */
    public void edit(Map<String,Object> params)throws ServerException;
}
